package com.example.figurehecheng.service;

import com.example.figurehecheng.common.result.PageResult;
import com.example.figurehecheng.domain.dto.SubscribePageDTO;
import com.example.figurehecheng.domain.entity.Subscribe;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 宇科工作室
 * @since 2024-10-18
 */
public interface ISubscribeService extends IService<Subscribe> {

    /**
     * 查询预约
     * @param subscribePageDTO
     * @return
     */
    PageResult selectPageSubscribe(SubscribePageDTO subscribePageDTO);

    /**
     * 修改预约状态
     * @param id
     * @param state
     * @return
     */
    void updateState(Integer id, Integer state);
}
